package com.skillworld.webapp.model.itemservice;


@SuppressWarnings("serial")
public class NoUsagesLeftException extends Exception 
{
    
    private Long itemId;
   
 
    public NoUsagesLeftException(Long iid) 
    {
        super("Item [" + iid + "] can't be used anymore....");
        this.itemId = iid;
    }

    public Long getItemId() {
        return itemId;
    }
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

}
